<?php
namespace AuctionCore\Account\Spm;
/**
 * 用户登录管理
 */

class FoursGroup{
	public function getOne($username,$keyword){
		$flag = 0;
		$map['user_name'] = array('eq',$username);
		$map['password'] = array('eq',$keyword);
		$result = M('fours_group')->where($map)->find();
		if($result){
			$flag = 1;
		}
		return $flag;
	}
}